<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="../../common/jsp/taglibs.jsp"/>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>后台首页</title>
    <jsp:include page="../../common/jsp/head.jsp"/>
    <link rel="stylesheet" type="text/css" href="${ctx}plugins/bootstrap/css/bootstrap.min.css" media="all">
    <link rel="stylesheet" type="text/css" href="${ctx}css/homepage.css" media="all">
    <style>
        .Table tr td {
            white-space: normal;
        }
        .span-title a {
            text-decoration:none;
        }
    </style>
</head>
<body>
<div class="larry-grid larry-wrapper">
    <div class="row system">
        <%-- -------- 左侧 -------- --%>
        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
            <section class="panel">
                <header class="panel-heading bm0">
                    <span class='span-title'><a href="javascript:" onclick="goList('productionReport');">生产报表</a></span>
                </header>
                <div class="panel-body larry-seo-box">
                    <div class="larry-seo-stats" id="productionChart"></div>
                </div>
            </section>
            <section class="panel">
                <header class="panel-heading bm0">
                    <span class='span-title'><a href="javascript:" onclick="goList('jobReport');">维修报表</a></span>
                </header>
                <div class="panel-body larry-seo-box">
                    <div class="larry-seo-stats" id="repairChart"></div>
                </div>
            </section>
        </div>
        <%-- -------- 右侧 -------- --%>
        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
            <section class="panel">
                <header class="panel-heading bm0">
                    <span class='span-title'><a href="javascript:" onclick="goList('notice');">公告通知</a></span>
                </header>
                <div class="panel-body">
                    <table class="table table-hover personal-task">
                        <tr>
                            <td class="top-top">
                                <p class="larry_github" id="notice"></p>
                            </td>
                        </tr>
                    </table>
                </div>
            </section>
            <section class="panel">
                <header class="panel-heading bm0">
                    <span class='span-title'><a href="javascript:" onclick="goList('approval');">审核列表</a></span>
                </header>
                <div class="panel-body">
                    <form class="layui-form larry-document">
                        <table class="layui-table" >
                            <colgroup>
                                <col>
                                <col width="100">
                                <col width="120">
                            </colgroup>
                            <thead>
                            <tr>
                                <th>审批内容</th>
                                <th>申请人</th>
                                <th>申请时间</th>
                            </tr>
                            </thead>
                            <tbody id="approvalBody">
                            </tbody>
                        </table>
                    </form>
                </div>
            </section>
            <section class="panel">
                <header class="panel-heading bm0">
                    <span class='span-title'><a href="javascript:" onclick="goList('log');">系统日志</a></span>
                </header>
                <div class="panel-body">
                    <div class="update-log" id="systemLog"></div>
                </div>
            </section>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript" src="${ctx}common/js/echarts.js?version=${version}"></script>
<!-- 引用图表主题样式 -->
<script type="text/javascript" src="${ctx}common/js/shine.js?version=${version}"></script>

<script type="text/javascript" src="${ctx}js/home/homepage.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}js/home/productChart.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}js/home/jobChart.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}js/home/notice.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}js/home/approval.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}js/home/systemLog.js?version=${version}"></script>